package com.testing.maven.VIP05JUnit;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

public class LoginSampleUnit {
	
	private static LoginSample ls;

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
		ls=new LoginSample();
	}

	@Test
	public void test() {
		ls.login("Roy", "123456");
		assertEquals("恭喜您，登录成功", ls.resultMSG);
	}

}
